.class final Lcom/xingbook/park/activity/ct;
.super Landroid/os/Handler;


# instance fields
.field a:Ljava/lang/ref/WeakReference;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)V
    .locals 1

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/xingbook/park/activity/ct;->a:Ljava/lang/ref/WeakReference;

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/park/activity/ct;->a:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/park/activity/VideoPlayStreamActivity;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    iget v1, p1, Landroid/os/Message;->what:I

    packed-switch v1, :pswitch_data_0

    :goto_1
    :pswitch_0
    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    goto :goto_0

    :pswitch_1
    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v1, Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;I)V

    goto :goto_1

    :pswitch_2
    invoke-static {v0, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    goto :goto_1

    :pswitch_3
    invoke-static {v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/overclass/VideoView;

    move-result-object v1

    invoke-static {v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->c(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/b/n;

    move-result-object v2

    invoke-virtual {v2}, Lcom/xingbook/b/n;->f()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->d(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/overclass/s;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lcom/xingbook/ui/overclass/VideoView;->a(Ljava/lang/String;Lcom/xingbook/ui/overclass/s;)V

    invoke-static {v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Lcom/xingbook/ui/overclass/VideoView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/xingbook/ui/overclass/VideoView;->start()V

    goto :goto_1

    :pswitch_4
    invoke-static {v0, v3}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    invoke-static {v0, v3}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    invoke-static {v0}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->e(Lcom/xingbook/park/activity/VideoPlayStreamActivity;)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_1

    :pswitch_5
    invoke-static {v0, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v1, "\u6253\u5f00\u5931\u8d25\uff1a"

    invoke-direct {v2, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    iget-object v1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    instance-of v1, v1, Ljava/io/IOException;

    if-eqz v1, :cond_1

    const-string v1, "IO\u9519\u8bef"

    :goto_2
    invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "\uff0c\u8f7b\u89e6\u5c4f\u5e55\u91cd\u8bd5\uff01"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V

    goto :goto_1

    :cond_1
    const-string v1, "IA\u9519\u8bef"

    goto :goto_2

    :pswitch_6
    invoke-static {v0, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    const-string v1, "\u89c6\u9891\u8fde\u63a5\u65e0\u6548\uff0c\u5373\u5c06\u9000\u51fa\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V

    goto :goto_1

    :pswitch_7
    invoke-static {v0, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    const-string v1, "\u521d\u59cb\u5316\u9519\u8bef\uff0c\u5373\u5c06\u9000\u51fa\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V

    goto :goto_1

    :pswitch_8
    invoke-static {v0, v2}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->a(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Z)V

    iget v1, p1, Landroid/os/Message;->arg1:I

    const/16 v2, 0xc8

    if-ne v1, v2, :cond_2

    const-string v1, "\u683c\u5f0f\u4e0d\u652f\u6301\uff0c\u5373\u5c06\u9000\u51fa\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V

    goto/16 :goto_1

    :cond_2
    const-string v1, "\u672a\u77e5\u9519\u8bef\uff0c\u5373\u5c06\u9000\u51fa\uff01"

    invoke-static {v0, v1}, Lcom/xingbook/park/activity/VideoPlayStreamActivity;->b(Lcom/xingbook/park/activity/VideoPlayStreamActivity;Ljava/lang/String;)V

    goto/16 :goto_1

    nop

    :pswitch_data_0
    .packed-switch 0x1
        :pswitch_1
        :pswitch_2
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_0
        :pswitch_0
        :pswitch_3
    .end packed-switch
.end method
